package com.wish.business.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonValue;

/**
 * @EnumName BusinessType
 * @Description TODO
 * @Author 18516
 * @DATE 2022/3/31 17:05:07
 * @Version 1.0
 */
public enum BusinessType {

    SI(0, "个体"), GONG(1, "公司");

    @EnumValue
    private Integer code;

    @JsonValue
    private String name;

    BusinessType(Integer code, String name) {
        this.code = code;
        this.name = name;
    }

}
